<!DOCTYPE html>
<html lang="en">
<head>
    <title>服务</title>
    <link href="/static/index/css/font-awesome.min.css" rel="stylesheet" type="text/css" media="all" /><!-- fontawesome -->
    <link href="/static/index/css/bootstrap.min.css" rel="stylesheet" type="text/css" media="all" /><!-- Bootstrap stylesheet -->
    <link href="/static/index/css/style.css" rel="stylesheet" type="text/css" media="all" />
    <link rel="stylesheet" href="/static/index/reset.css" type="text/css">
    <link rel="stylesheet" href="__JS__/layui/css/layui.css" />
    <!-- stylesheet -->
    <!-- meta tags -->
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="keywords" content="Fashion " />
    <script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script>
    <!-- //meta tags -->
    <!--fonts-->
    <link href="http://fonts.googleapis.com/css?family=Roboto+Condensed:300,300i,400,400i,700,700i&subset=cyrillic,cyrillic-ext,greek,greek-ext,latin-ext,vietnamese" rel="stylesheet">
    <link href="http://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">
    <!--//fonts-->
    <script type="text/javascript" src="/static/index/js/jquery-2.1.4.min.js"></script>
    <script src="/static/index/js/main.js"></script>
    <!-- Required-js -->
    <!-- start-smoth-scrolling -->
    <script type="text/javascript" src="/static/index/js/move-top.js"></script>
    <script type="text/javascript" src="/static/index/js/easing.js"></script>
    <script type="text/javascript">
        jQuery(document).ready(function($) {
            $(".scroll").click(function(event){
                event.preventDefault();
                $('html,body').animate({scrollTop:$(this.hash).offset().top},1000);
            });
        });
    </script>
    <!-- start-smoth-scrolling -->

    <!-- scriptfor smooth drop down-nav -->
    <script>
        $(document).ready(function(){
            $(".dropdown").hover(
                function() {
                    $('.dropdown-menu', this).stop( true, true ).slideDown("fast");
                    $(this).toggleClass('open');
                },
                function() {
                    $('.dropdown-menu', this).stop( true, true ).slideUp("fast");
                    $(this).toggleClass('open');
                }
            );
        });
    </script>
    <!-- //script for smooth drop down-nav -->
</head>
<body>

<!--登录固定-->
{empty name="id"}
<nav class="navbar navbar-default navbar-fixed-top aa" style="margin-bottomo:100px;">
    <div class="container">
        <!--登录按钮-->
        <a href="{:url('index/login/index')}" style="margin-left: 1050px;color: black;">登录</a>


        <!--//注册按钮-->
        <a href="{:url('index/index/add')}" style="color: black;margin-left: 15px;">注册</a>
    </div>
</nav>
{else /}
<nav class="navbar  navbar-fixed-top" role="navigation" style="background: #e0620d ;padding-top: 3px;height:50px;">
    <div class="container-fluid" style="background: #fff;">
        <div class="navbar-header ">
            <button type="button" class="navbar-toggle" data-toggle="collapse"
                    data-target="#my-navbar-collapse">
                <span class="sr-only">切换导航</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>

        </div>
        <form class="navbar-form navbar-left" role="search" action="{:url('/wbSearch')}" method="post">
            <div class="form-group">
                <input type="text" class="form-control" name="Search" placeholder="微博找人">
                <button class="glyphicon glyphicon-search btn_search btn btn-default" ></button>
                <!--  <button type="submit" class="btn btn-default">提交</button> -->
            </div>

        </form>

        <div class="collapse navbar-collapse" id="my-navbar-collapse">
            <ul class="nav navbar-nav navbar-right" >
                <li >
                    <img src="{$photo}" width="30px" style="border-radius: 50%">
                    <a href="{:url('index/dologin')}" style="color: black;padding: 0px!important;" class="mingzi">{$username}
                </li>
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                        安全中心<b class="caret"></b>
                    </a>
                    <ul class="dropdown-menu">
                        <a href="{:url('index/login/loginOut')}" class="roll-nav roll-right J_tabExit tuichu" style="width: 50">
                            &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp <i class="fa fa fa-sign-out"></i>
                            退出</a><br>

                        <a href="{:url('/editpass')}">&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp更改密码</a>
                    </ul>

                </li>
            </ul>
        </div>
    </div>
    <hr style="margin: 0;padding: 0;color:#222;width: 100%">
</nav>
{/empty}
<hr>
<br><br>

<!-- header -->
<header>
    <div class="w3layouts-top-strip" style="margin-top: 100px;">
        <div class="container">
            <div class="logo">
                <img src="{$pto}"  class="img-circle" width="100">

                <h3><a href="#">{$sname}</a></h3>
            </div>

        </div>
    </div>
    <!-- navigation -->


    <!-- //navigation -->
</header>

<div class="breadcrumbs">
    <div class="container">
        <div class="row readcrumb breadcrumb1 animated wow fs16 cf" data-wow-delay=".5s">



            <!--<div class="col-md-1"><a href="#"><button type="button" class="btn btn-default " ><span class="glyphicon glyphicon-plus-sign">关注</span></button></a></div>-->
            <!--<div class="col-md-1"><button type="button" class="btn btn-default ">私信</button></div>-->
            <div class="col-md-3"></div>
            <div class="col-md-1"></div>
            <div class="col-md-1"><a href="{:url('/business')}" class="cf">主页</a></div>
            <div class="col-md-1"></div>
	{volist name="list" id="v"}
            <div class="col-md-1"><a href="{:url('/server')}?uid={$v['id']}" class="cf">服务</a></div>
	{/volist}
            <div class="col-md-1"></div>
            <div class="col-md-1"><a href="{:url('/business/photo')}" class="cf">相册</a></div>
            <div class="col-md-3"></div>
          

        </div>
    </div>
</div>
<!-- //breadcrumbs -->
<div class="container">
    <div class="banner-btm-agile">

        <!-- //btm-wthree-left -->
        <div class="col-md-12 ">
            <div class="agileits_heading_section">
                <h5 class="wthree_head">TA发起的活动</h5>
                <!--<p class="agileinfo_para">Nam tempus lobortis sem non ornare in aliquet egestas, nisi mi vestibulum.</p>-->
            </div>
            <div class="events w3">
                <div class="events-main">
                    {volist name="list" id="v"}
                    <div class="events-top">

                        <div class="col-md-3  w3ls fea-left">

                            <div class="w3agile_special_deals_grid_left_grid">
                                <?php if($v['type']==1){?>
                                <img src="{$v['thumbnail']}" class="img-responsive" style="width: 142px;height: 142px;" />
                                <?php }else if($v['type']==2){?>
                                <img src="{$v['thumbnail']}" class="img-responsive" style="width: 142px;height: 142px;" />
                                <?php }else{?>
                                <img src="{$v['thumbnail']}" class="img-responsive" style="width: 142px;height: 142px;" />
                                <?php }?>
                            </div>
                        </div>
                        <div class="col-md-9 wthree fea-right">
                            <h3>{$v['title']}</h3>
                            <?php if($v['type']==1){?>
                                <p>转发活动</p>
                            <?php }else if($v['type']==2){?>
                                <p>抽奖活动</p>
                            <?php }else{?>
                                <p>投票活动</p>
                            <?php }?>

                            <?php if($v['status']==1&&$v['type']==1){ ?>
                                <a class="agileits w3layouts" href="{:url('/forwarding')}?type={$v['type']}&id={$v['id']}">点击参与<span class="glyphicon agileits w3layouts glyphicon-arrow-right" aria-hidden="true"></span></a>
                            <?php }else if($v['status']==1&&$v['type']==2){?>
                            <a class="agileits w3layouts" href="{:url('/details')}">点击参与<span class="glyphicon agileits w3layouts glyphicon-arrow-right" aria-hidden="true"></span></a>
                            <?php }else if($v['status']==1&&$v['type']==3){?>
                                <a class="agileits w3layouts" href="{:url('/vote')}?type={$v['type']}&id={$v['id']}">点击参与<span class="glyphicon agileits w3layouts glyphicon-arrow-right" aria-hidden="true"></span></a>
                            <?php }else if($v['status']==2){ ?>
                                <a class="agileits w3layouts" href="#" onclick=" return end()">已结束<span class="glyphicon agileits w3layouts glyphicon-arrow-right" aria-hidden="true"></span></a>
                            <?php }?>
                        </div>
                        <div class="clearfix"> </div>

                    </div>
                    {/volist}
                </div>
            </div>
        </div>

            </div>
        </div>
        <!-- //btm-wthree-left -->
        <!-- btm-wthree-right -->

        <!-- //btm-wthree-right -->
        <div class="clearfix"></div>
    </div>
</div>

<!-- footer -->
<div class="footer-agile-info">
    <div class="container">
        <div class="col-md-4 w3layouts-footer">
            <h3>联系信息</h3>
            <p><span><i class="fa fa-map-marker" aria-hidden="true"></i></span>中华人民共和国上海市徐汇区</p>
            <p><span><i class="fa fa-envelope" aria-hidden="true"></i></span><a href="#">1551941489@qq.com</a></p>
            <p><span><i class="fa fa-mobile" aria-hidden="true"></i></span>P: 03765759119 </p>
            <p><span><i class="fa fa-globe" aria-hidden="true"></i></span><a href="http://www.zhc1995.cn">W:
                www.zhc1995.cn</a></p>
        </div>
        <div class="col-md-4 wthree-footer">
            <h2>网站简介</h2>
            <p>本网站纯属娱乐,如作商业用途,请联系本人</p>
        </div>
        <div class="col-md-4 w3-agile">
            <h3>意见反馈</h3>
            <p>如果您有好的提议,前邮件联系作者</p>

        </div>
    </div>
</div>
<!-- footer -->
<!-- copyright -->
<div class="copyright">
    <div class="container">
        <div class="w3agile-list">
        </div>
        <div class="agileinfo">
            <p>版权 &copy; 魔狗工作室保留一切版权<a target="_blank" href="http://www.baidu.com">魔狗工作室</a>备案号:19001432</p>
        </div>
    </div>
</div>
<!-- //copyright -->
<!-- here stars scrolling icon -->
<script type="text/javascript" src="__JS__/layui/layui.js"></script>
<script type="text/javascript">
    function end() {
        layui.use(['layer', 'form'], function(){
            var layer = layui.layer
                ,form = layui.form;
            var index = layer.msg('活动已结束!请查看其它活动', {icon:6}); //0代表加载的风格，支持0-2
        });
    }
</script>
<!-- //here ends scrolling icon -->

<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="/static/index/js/bootstrap.js"></script>
</body>
</html>